package com.pn.exception;

/**
 * @Author :LY
 * @Description :自定义的运行时异常
 * @Date :2025/3/18 16:04
 */
public class BusinessException extends RuntimeException{
    //只是创建异常对象
    public BusinessException(){
        super();
    }

    //创建异常对象同时指定异常信息
    public BusinessException(String message){
        super(message);
    }
}
